package com.jiayang.hhotel.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/6/6 0006.
 * 特殊房态列表数据类
 */

public class SpecialRoomStateModel implements IModel {

    /**
     * state : 9
     * info :
     * pAssignRoomListDtos : [{"serial":2,"room":"630","beginDate":"2017-06-06","beginTime":"00:00:00","endDate":"2017-06-18","endTime":"00:00:00","status":1,"statusdescp":"预订","authorize":"0"},{"serial":3,"room":"632","beginDate":"2017-06-06","beginTime":"00:00:00","endDate":"2017-06-18","endTime":"00:00:00","status":1,"statusdescp":"预订","authorize":"0"},{"serial":4,"room":"633","beginDate":"2017-06-16","beginTime":"00:00:00","endDate":"2017-06-18","endTime":"00:00:00","status":1,"statusdescp":"预订","authorize":"0"},{"serial":5,"room":"635","beginDate":"2017-06-16","beginTime":"00:00:00","endDate":"2017-06-18","endTime":"00:00:00","status":1,"statusdescp":"预订","authorize":"0"},{"serial":1,"room":"636","beginDate":"2017-06-10","beginTime":"00:00:00","endDate":"2017-06-18","endTime":"00:00:00","status":1,"statusdescp":"预订","authorize":"0"}]
     */

    private int state;
    private String info;
    private List<PAssignRoomListDtosBean> pAssignRoomListDtos;

    @Override
    public String toString() {
        return "SpecialRoomStateModel{" +
                "state=" + state +
                ", info='" + info + '\'' +
                ", pAssignRoomListDtos=" + pAssignRoomListDtos +
                '}';
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PAssignRoomListDtosBean> getPAssignRoomListDtos() {
        return pAssignRoomListDtos;
    }

    public void setPAssignRoomListDtos(List<PAssignRoomListDtosBean> pAssignRoomListDtos) {
        this.pAssignRoomListDtos = pAssignRoomListDtos;
    }

    public static class PAssignRoomListDtosBean {
        /**
         * serial : 2
         * room : 630
         * beginDate : 2017-06-06
         * beginTime : 00:00:00
         * endDate : 2017-06-18
         * endTime : 00:00:00
         * status : 1
         * statusdescp : 预订
         * authorize : 0
         */

        private int serial;
        private String room;
        private String beginDate;
        private String beginTime;
        private String endDate;
        private String endTime;
        private int status;
        private String statusdescp;
        private String authorize;
        private String authDescp;//审核状态描述

        @Override
        public String toString() {
            return "PAssignRoomListDtosBean{" +
                    "serial=" + serial +
                    ", room='" + room + '\'' +
                    ", beginDate='" + beginDate + '\'' +
                    ", beginTime='" + beginTime + '\'' +
                    ", endDate='" + endDate + '\'' +
                    ", endTime='" + endTime + '\'' +
                    ", status=" + status +
                    ", statusdescp='" + statusdescp + '\'' +
                    ", authorize='" + authorize + '\'' +
                    ", authDescp='" + authDescp + '\'' +
                    '}';
        }

        public String getAuthDescp() {
            return authDescp;
        }

        public void setAuthDescp(String authDescp) {
            this.authDescp = authDescp;
        }

        public int getSerial() {
            return serial;
        }

        public void setSerial(int serial) {
            this.serial = serial;
        }

        public String getRoom() {
            return room;
        }

        public void setRoom(String room) {
            this.room = room;
        }

        public String getBeginDate() {
            return beginDate;
        }

        public void setBeginDate(String beginDate) {
            this.beginDate = beginDate;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndDate() {
            return endDate;
        }

        public void setEndDate(String endDate) {
            this.endDate = endDate;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStatusdescp() {
            return statusdescp;
        }

        public void setStatusdescp(String statusdescp) {
            this.statusdescp = statusdescp;
        }

        public String getAuthorize() {
            return authorize;
        }

        public void setAuthorize(String authorize) {
            this.authorize = authorize;
        }
    }
}
